package com.mycity.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.mycity.bean.User;



public class UserRowMapper implements RowMapper<User> {

  @Override
  public User mapRow(ResultSet rs, int line) throws SQLException {
    UserSetExtractor extractor = new UserSetExtractor();
    return extractor.extractData(rs);
  }

} 